package com.bridgeintelligent.tag.customer.looklike;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;


@Getter
@Setter
@Accessors(chain = true)
@ApiModel(value = "相似客群下发信息实体")
public class LookLikeIssue implements Serializable {

    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "渠道ID")
    private String channelId;

    @ApiModelProperty(value = "下发ID")
    private String issueKey;

    @ApiModelProperty(value = "下发名称")
    private String issueName;

    @ApiModelProperty(value = "CCIS工单")
    private String ccis;

    @ApiModelProperty(value = "客群ID")
    private String customersId;

    @ApiModelProperty(value = "下发频率1立即下发3每周下发4每月下发")
    private String frequency;

    @ApiModelProperty(value = "审核状态1未提交2待审核3驳回4通过")
    private String approveStatus;

    @ApiModelProperty(value = "有效开始时间")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date validStart;

    @ApiModelProperty(value = "有效结束时间")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date validEnd;

    @ApiModelProperty(value = "下发字段")
    private String fields;

    @ApiModelProperty(value = "是否有效状态02无效01有效")
    private String state;

    @ApiModelProperty(value = "是否删除00未删除01已删除")
    private String isDel;

    @ApiModelProperty(value = "负责人")
    private String directorId;

    @ApiModelProperty(value = "创建人ID")
    private String creatorId;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty(value = "周频率下设置的周几")
    private String weeks;

    @ApiModelProperty(value = "相似客群下发导出配置id")
    private String lookConfigId;

    //这条导出对应的配置信息
    private LookLikeExportConfig config;

    //渠道名称
    private String channelName;
}
